package com.donn.securitycontrolplatform.positioninformation.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *  LOC 标签位置信息
 * </p>
 *
 * @author zhenglx
 * @since 2022-06-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TPositionInfo对象", description=" LOC 标签位置信息")
public class TPositionInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "标签id")
    private String tagId;

    @ApiModelProperty(value = "坐标")
    private String position;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "标签所在楼层")
    private String floor;

    @ApiModelProperty(value = "定位区域")
    private String region;

    @ApiModelProperty(value = "种类")
    private String kind;

    @ApiModelProperty(value = "X")
    private String postionX;

    @ApiModelProperty(value = "Y")
    private String postionY;

    @ApiModelProperty(value = "Z")
    private String postionZ;
    @ApiModelProperty(value = "延时")
    private Double duration;

    @ApiModelProperty(value = "x轴上速度")
    private Double speedX;

    @ApiModelProperty(value = "x轴上速度")
    private Double speedY;

    @ApiModelProperty(value = "标签速度")
    private Double speed;

    @ApiModelProperty(value = "x轴夹角角度")
    private Double dir;

    @ApiModelProperty(value = "x轴夹角弧度")
    private Double dirRadian;

    @ApiModelProperty(value = "检测标签的时间")
    private String collectTime;



    @ApiModelProperty(value = "当前时间戳")
    private Long ts;

    @ApiModelProperty(value = "标签电量")
    private String voltage;

    @ApiModelProperty(value = "标签类型")
    private String tagType;

    @ApiModelProperty(value = "标签报警类型")
    private String alarmType;

    @ApiModelProperty(value = "标签版本")
    private String tagVer;



    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "元数据")
    private String originalData;

    @ApiModelProperty(value = "日志引擎时间")
    private String logEngineTime;

    @ApiModelProperty(value = "标签接收时间")
    private String tagRevTime;

    @ApiModelProperty(value = "协议版本")
    private String portocolVersion;


}
